package cn.edu.sdjzu.xg.eagle.dao;

import cn.edu.sdjzu.xg.eagle.util.Condition;

import java.sql.Connection;
import java.sql.SQLException;
import java.util.List;

/**
 * @author tg.si@188.com
 * @project xg22
 * @date 2024/3/27
 */
public interface CommonDao {
    int count(Connection connection, String tableName) throws SQLException;
    int count(Connection connection, String tableName,
                     List<Condition> conditionList) throws SQLException;
}
